//
//  ViewControllerFour.m
//  TestNav
//
//  Created by 崔宝印 on 2018/2/28.
//  Copyright © 2018年 Koolearn. All rights reserved.
//

#import "ViewControllerFour.h"
#import "UIViewController+KooNavBar.h"
#import "UINavigationController+KooNavAlpha.h"

@interface ViewControllerFour ()

@end

@implementation ViewControllerFour

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.kooNavTintColor = [UIColor blackColor];
}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.navigationController.navigationBarHidden = YES;
}

- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    self.navigationController.navigationBarHidden = NO;
}

- (IBAction)goBack:(id)sender
{
    [self.navigationController popViewControllerAnimated:YES];
}


@end
